﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MShop.Core.Domain;
using System.Collections;
using System.Linq.Expressions;

namespace MShop.Core.Service
{
    public interface IRecursionSort<T> where T:INode<T>
    {
      // void Recursion(IEnumerable<T> objects, ref IList<T> list, ref int rowIndex, Expression<Func<T, bool>> expr = null);

       void Recursion(IEnumerable<T> objects, ref IList<T> list, ref int rowIndex, object key = null);
    }
}